﻿using ClientBasicData.ErrorCode;
using MediatR;

namespace ClientBasicData.Api.Application.Command
{
    /// <summary>
    /// 客户信息录入命令类
    /// </summary>
    public class CreateClientCommand:IRequest<ApiResult<int>>
    {
        /// <summary>
        /// 客户姓名
        /// </summary>
        public string Clientname { get; set; }

        /// <summary>
        /// 客户电话
        /// </summary>
        public string Clienttel { get; set; }

        /// <summary>
        /// 客户地址
        /// </summary>
        public string Clientaddr { get; set; }

        /// <summary>
        /// 下单数量
        /// </summary>
        public string Clientnum { get; set; }

        /// <summary>
        /// 下单时间
        /// </summary>
        public string Clientstarttime { get; set; }

        /// <summary>
        /// 交付时间
        /// </summary>
        public string Clientendtime { get; set; }

        /// <summary>
        /// 产品类型
        /// </summary>
        public string Typeid { get; set; }

        /// <summary>
        /// 状态
        /// </summary>
        public bool States { get; set; }

        /// <summary>
        /// 创建人
        /// </summary>
        public string CreateName { get; set; }
    }
}
